package com.blog.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName JwtProperties
 * @Destription 定义秘钥和有效时长
 * @Author 天堂小野花
 * @Date 2025/8/9  19:34
 * @Version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "blog.jwt")
@Data
public class JwtProperties {
    private String secretKey;
    private Integer validateInMs;
}
